package com.sebscape.sebcms;

import junit.framework.TestCase;

//import com.google.appengine.tools.development.ApiProxyLocalImpl;
import com.google.apphosting.api.ApiProxy;

public class LocalServiceTestCase extends TestCase {
	
	@Override
	protected void setUp() throws Exception {
		super.setUp();
		ApiProxy.setEnvironmentForCurrentThread( new GoogleTestEnvironment() );
		//ApiProxy.setDelegate(new ApiProxyLocalImpl(new File(".")){});
	}

	@Override
	protected void tearDown() throws Exception {
        // not strictly necessary to null these out but there's no harm either
        ApiProxy.setDelegate(null);
        ApiProxy.setEnvironmentForCurrentThread(null);
        super.tearDown();
	}

}
